<template>
  <div id="basicLayout">
    <a-layout style="width: 100%">
      <!-- 顶部栏 -->
      <a-layout-header class="header">
        <GlobalHeader />
      </a-layout-header>
      <!-- 内容部分 -->
      <a-layout-content class="content">
        <RouterView />
      </a-layout-content>
      <!-- 底部栏 -->
      <a-layout-footer class="footer"> @author by 高桥凉介 </a-layout-footer>
    </a-layout>
  </div>
</template>
<script setup lang="ts">
import GlobalHeader from '@/components/GlobalHeader.vue'
import { RouterView } from 'vue-router'
</script>
<style scoped>
#basicLayout {
  width: 100%;
}

#basicLayout .header {
  width: 100% !important;
  padding: 0;
  text-align: center;
  font-size: 20px;
  line-height: 64px;
  background: #fff;
}

#basicLayout .content {
  margin: 12px 16px;
  padding: 24px;
  min-height: 80vh;
  background: #fff;
}

#basicLayout .footer {
  text-align: center;
  background: #f0f2f5;
}
</style>
